Skip to content

fix(roadmap): judge the registry of the checked-out tree - #6322

Merged
dan-petty merged 1 commit into
mainfrom
fix/4695-judge-the-registry-of-the-checked-out-tree
Nov 18, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/4695-judge-the-registry-of-the-checked-out-tree

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The stage change gates and replays read the registry table from the process working directory via registry_table(Path.cwd()). When check_gates, check_proposal, replay_all, or replay_case operated in another directory or against another checkout (such as during evaluation replays or when running tests from an arbitrary working folder), they read counts from the wrong folder or failed to find the project root.

Closes #4695

Change: openspec/changes/archive/2026-11-18-4695-judge-the-registry-of-the-checked-out-tree/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 18, 2026
The stage change gates read the registry table from the process
working directory. The evaluation and stage jobs failed when they
operated on other checkouts.

Require keyword-only registry table in check_gates, check_proposal,
replay_all, and replay_case.
Add an ast-grep rule stage-registry-cwd-read to forbid registry_table
on Path.cwd() in src.
Build registry_table once per stage run and reuse it.
Build the registry fixture with session scope in eval gates tests.

Closes #4695

Change: `openspec/changes/archive/2026-11-18-4695-judge-the-registry-of-the-checked-out-tree/`
@dan-petty
dan-petty force-pushed the fix/4695-judge-the-registry-of-the-checked-out-tree branch from b2c7f87 to c638b4e Compare November 18, 2026 19:12
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: c638b4ee321d1d6609e2b24f711ada10691b9ade

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
Plan Check skipped run
CodeQL success run
Dependency Freshness skipped run
Tests on Main skipped run
Test Job Duration skipped run
Tests & Coverage (shard 5 of 5) success run
Tests & Coverage (shard 3 of 5) success run
Changed-Test Independence success run
Design Tokens success run
Tests & Coverage (shard 4 of 5) success run
Tests & Coverage (shard 2 of 5) success run
Static Analysis success run
Tests & Coverage (shard 1 of 5) success run
Service Image success run
Runner Image success run
MCP Server Image success run
Semantic PR title success run
Analyze (python) success run
Fail-to-Pass Check success run
Analyze (actions) success run

Fail-to-pass run: https://github.com/dan-petty/devops-cli/actions/runs/44378084281/job/135062513440

Skipped check: Plan Check
Skipped check: Dependency Freshness
Skipped check: Tests on Main
Skipped check: Test Job Duration

@dan-petty
dan-petty marked this pull request as ready for review November 18, 2026 19:19
@dan-petty
dan-petty merged commit 31a15af into main Nov 18, 2026
24 checks passed
@dan-petty
dan-petty deleted the fix/4695-judge-the-registry-of-the-checked-out-tree branch November 18, 2026 20:05
dan-petty pushed a commit that referenced this pull request Nov 18, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.179.0](v0.178.0...v0.179.0)
(2026-11-18)


### Features

* **config:** Generate declared credentials from config set
([#6318](#6318))
([abe8785](abe8785))


### Bug Fixes

* **roadmap:** judge the registry of the checked-out tree
([#6322](#6322))
([31a15af](31a15af))
* **tests:** refuse real sleeps in tests
([#6317](#6317))
([918c9f4](918c9f4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): judge the registry of the checked-out tree

1 participant